export const allNavList = [
  { id: 0, title: "首页", icon: "HomeOutlined", url: "/" },
  { id: 1, title: "文章分类", icon: "BlockOutlined", url: "/category" },
  { id: 2, title: "文章标签", icon: "TagsOutlined", url: "/tag" },
  { id: 3, title: "关于本站", icon: "UserOutlined", url: "/about" },
  { id: 5, title: "发布文章", icon: "HighlightOutlined", url: "/post" },
  { id: 4, title: "设置", icon: "SettingOutlined", url: "/settings" },
  { id: 9, title: "退出", icon: "LogoutOutlined", url: "/logout" },
]

export const roleNav = {
  1: [0, 1, 2, 3, 9],      // 普通用户
  9: [0, 1, 2, 3, 4, 5, 9],      // 管理员
}